package com.topboya.officeuser.entity;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import io.swagger.models.auth.In;
import org.apache.poi.ss.usermodel.FillPatternType;

import java.util.Date;


/**
 * (BoyaSalesInfo)实体类
 *
 * @author makejava
 * @since 2020-11-11 15:17:00
 */

public class BoyaSalesInfo {

    @ExcelProperty(value = "ID",index = 0)
    private String id;
    @ExcelProperty(value = "备注",index = 1)
    private String remarks;
    @ExcelProperty(value = "上传年份",index = 2)
    private Integer uploadYear;
    @ExcelProperty(value = "上传月份",index = 3)
    private Integer uploadMonth;
    @ExcelProperty(value = "产品名称",index = 4)
    private String productName;
    @ExcelProperty(value = "产品规格",index = 5)
    private String productUnit;
    @ExcelProperty(value = "生产厂家",index = 6)
    private String productFactory;
    @ExcelProperty(value = "供货价",index = 7)
    private String supplyPrice;
    @ExcelProperty(value = "进药日期",index = 9)
    @DateTimeFormat
    private Date inComeDate;
    @ExcelProperty(value = "销售金额",index = 8)
    private Float salesAmount;
    @ExcelProperty(value = "进药量",index = 10)
    private Double salesCount;
    @ExcelProperty(value = "商业",index = 11)
    private String business;
    @ExcelProperty(value = "医院编码",index = 12)
    private String orgCode;
    @ExcelProperty(value = "医院名称",index = 13)
    private String orgName;
    @ExcelProperty(value = "级别",index = 14)
    private String orgLevel;
    @ExcelProperty(value = "医院分类",index = 15)
    private String orgCategory;
    @ExcelProperty(value = "外部医院名称",index = 16)
    private String extraOrgName;
    @ExcelProperty(value = "城区",index = 17)
    private String orgArea;
    @ExcelProperty(value = "开发者",index = 19)
    private String developer;
    @ExcelProperty(value = "代表",index = 18)
    private String userName;
    @ExcelProperty(value = "代表归属",index = 20)
    private String userBelong;
    @ExcelProperty(value = "公司主管",index = 21)
    private String superiorName;
    @ExcelProperty(value = "分销组",index = 22)
    private String distributionGroup;
    @ExcelProperty(value = "分销经理",index = 23)
    private String distributionLeader;
    @ExcelProperty(value = "地方社区",index = 24)
    private String place;
    @ExcelProperty(value = "批号",index = 25)
    private String lotNumber;

    @ExcelIgnore
    private String shipDate;

    @ExcelIgnore
    private String startTime;

    @ExcelIgnore
    private String endTime;

    @ExcelIgnore
    private Integer submitFlag;
    @ExcelProperty(value = "错误信息",index = 27)
    @ContentStyle(fillPatternType = FillPatternType.SOLID_FOREGROUND, fillForegroundColor = 10)
    private String message;



    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public String getProductFactory() {
        return productFactory;
    }

    public void setProductFactory(String productFactory) {
        this.productFactory = productFactory;
    }

    public String getSupplyPrice() {
        return supplyPrice;
    }

    public void setSupplyPrice(String supplyPrice) {
        this.supplyPrice = supplyPrice;
    }

    public Float getSalesAmount() {
        return salesAmount;
    }

    public void setSalesAmount(Float salesAmount) {
        this.salesAmount = salesAmount;
    }

    public Double getSalesCount() {
        return salesCount;
    }

    public void setSalesCount(Double salesCount) {
        this.salesCount = salesCount;
    }

    public Integer getUploadYear() {
        return uploadYear;
    }

    public void setUploadYear(Integer uploadYear) {
        this.uploadYear = uploadYear;
    }

    public Integer getUploadMonth() {
        return uploadMonth;
    }

    public void setUploadMonth(Integer uploadMonth) {
        this.uploadMonth = uploadMonth;
    }

    public Date getInComeDate() {
        return inComeDate;
    }

    public void setInComeDate(Date inComeDate) {
        this.inComeDate = inComeDate;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgLevel() {
        return orgLevel;
    }

    public void setOrgLevel(String orgLevel) {
        this.orgLevel = orgLevel;
    }

    public String getOrgCategory() {
        return orgCategory;
    }

    public void setOrgCategory(String orgCategory) {
        this.orgCategory = orgCategory;
    }

    public String getExtraOrgName() {
        return extraOrgName;
    }

    public void setExtraOrgName(String extraOrgName) {
        this.extraOrgName = extraOrgName;
    }

    public String getOrgArea() {
        return orgArea;
    }

    public void setOrgArea(String orgArea) {
        this.orgArea = orgArea;
    }

    public String getDeveloper() {
        return developer;
    }

    public void setDeveloper(String developer) {
        this.developer = developer;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserBelong() {
        return userBelong;
    }

    public void setUserBelong(String userBelong) {
        this.userBelong = userBelong;
    }

    public String getSuperiorName() {
        return superiorName;
    }

    public void setSuperiorName(String superiorName) {
        this.superiorName = superiorName;
    }

    public String getDistributionGroup() {
        return distributionGroup;
    }

    public void setDistributionGroup(String distributionGroup) {
        this.distributionGroup = distributionGroup;
    }

    public String getDistributionLeader() {
        return distributionLeader;
    }

    public void setDistributionLeader(String distributionLeader) {
        this.distributionLeader = distributionLeader;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getLotNumber() {
        return lotNumber;
    }

    public void setLotNumber(String lotNumber) {
        this.lotNumber = lotNumber;
    }

    public String getShipDate() {
        return shipDate;
    }

    public void setShipDate(String shipDate) {
        this.shipDate = shipDate;
    }

    public Integer getSubmitFlag() {
        return submitFlag;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setSubmitFlag(Integer submitFlag) {
        this.submitFlag = submitFlag;
    }

    @Override
    public String toString() {
        return "BoyaSalesInfo{" +
                "id='" + id + '\'' +
                ", remarks='" + remarks + '\'' +
                ", uploadYear=" + uploadYear +
                ", uploadMonth=" + uploadMonth +
                ", productName='" + productName + '\'' +
                ", productUnit='" + productUnit + '\'' +
                ", productFactory='" + productFactory + '\'' +
                ", supplyPrice='" + supplyPrice + '\'' +
                ", inComeDate=" + inComeDate +
                ", salesAmount=" + salesAmount +
                ", salesCount=" + salesCount +
                ", business='" + business + '\'' +
                ", orgCode='" + orgCode + '\'' +
                ", orgName='" + orgName + '\'' +
                ", orgLevel='" + orgLevel + '\'' +
                ", orgCategory='" + orgCategory + '\'' +
                ", extraOrgName='" + extraOrgName + '\'' +
                ", orgArea='" + orgArea + '\'' +
                ", developer='" + developer + '\'' +
                ", userName='" + userName + '\'' +
                ", userBelong='" + userBelong + '\'' +
                ", superiorName='" + superiorName + '\'' +
                ", distributionGroup='" + distributionGroup + '\'' +
                ", distributionLeader='" + distributionLeader + '\'' +
                ", place='" + place + '\'' +
                ", lotNumber='" + lotNumber + '\'' +
                ", shipDate='" + shipDate + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", submitFlag=" + submitFlag +
                '}';
    }
}